﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Xml;
using Runda.CMS.Common.Utility;

namespace Runda.CMS.Common.Entity
{
    /// <summary>
    /// InstrumentRecord数据实体
    /// </summary>
    [Serializable]
    [TableName("Cms_Wsm_InstrumentRecord")]
    public partial class InstrumentRecord : EntityBase
    {

        #region 构造函数
        ///<summary>
        ///
        ///</summary>
        public InstrumentRecord()
            : this(Guid.NewGuid())
        {
        }

        public InstrumentRecord(Guid iD)
        {
            this.RecordID = iD;
        }


        #endregion

        #region 字段

        ///<summary>
        ///
        ///</summary>	
        private Guid _RecordID;
        private Guid _InstrumentID;
        private DateTime _RecordDate;
        private decimal _Totalnum;
        private decimal _dailyNum;
        private Guid _Recorder;
        private Guid _MaintainID;
        private Guid _CustomerID;
        private string _SerialNum;

   

        #endregion

        #region 公共属性


        ///<summary>
        ///
        ///</summary>
        [PrimaryKey]
        public Guid RecordID
        {
            get { return _RecordID; }
            set { _RecordID = value; }
        }

        ///<summary>
        ///
        ///</summary>
        public Guid InstrumentID
        {
            get { return InstrumentID; }
            set { _InstrumentID = value; }
        }

        ///<summary>
        ///
        ///</summary>
        public DateTime RecordDate
        {
            get { return _RecordDate; }
            set { _RecordDate = value; }
        }

        ///<summary>
        ///
        ///</summary>
        public decimal Totalnum
        {
            get { return _Totalnum; }
            set { _Totalnum = value; }
        }

        ///<summary>
        ///
        ///</summary>
        public decimal dailyNum
        {
            get { return _dailyNum; }
            set { _dailyNum = value; }
        }

        ///<summary>
        ///
        ///</summary>
        public Guid Recorder
        {
            get { return _Recorder; }
            set { _Recorder = value; }
        }

        public Guid MaintainID
        {
            get { return _MaintainID; }
            set { _MaintainID = value; }
        }

        public Guid CustomerID
        {
            get { return _CustomerID; }
            set { _CustomerID = value; }
        }

        public string SerialNum
        {
            get { return _SerialNum; }
            set { _SerialNum = value; }
        }

        #endregion
    }
}

